package com.shunli.cterminal.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.examples.core.mybatis.base.BaseSafeEntity;
import lombok.Data;

import java.math.BigDecimal;

/**
 * <p>
 * 结果页红包配置
 * </p>
 *
 * @author zhuwc
 * @since 2025-04-11 10:56:21
 */
@Data
@TableName("system_result_red_envelope")
public class SystemResultRedEnvelope extends BaseSafeEntity {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;

    /**
     * 最小金额
     */
    private BigDecimal minAmount;

    /**
     * 最大金额
     */
    private BigDecimal maxAmount;

    /**
     * 红包金额
     */
    private BigDecimal redEnvelopeAmount;
}
